Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix 'docker-publish' screwdriver job #564

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Conversation

sagar1312
Copy link
Member

Context

docker-publish Screwdriver job failed with below error

10:58:15 ERROR:  Error installing jekyll:
10:58:15 	ERROR: Failed to build gem native extension.
10:58:15 
10:58:15     current directory: /usr/local/bundle/gems/sass-embedded-1.57.1/ext/sass
10:58:15 /usr/local/bin/ruby -I/usr/local/lib/ruby/3.1.0 -rrubygems /usr/local/lib/ruby/gems/3.1.0/gems/rake-13.0.6/exe/rake RUBYARCHDIR\=/usr/local/bundle/extensions/x86_64-linux-musl/3.1.0/sass-embedded-1.57.1 RUBYLIBDIR\=/usr/local/bundle/extensions/x86_64-linux-musl/3.1.0/sass-embedded-1.57.1
10:58:15 rake aborted!
10:58:15 NotImplementedError: sass_embedded for x86_64-linux-musl not available at https://github.com/sass/dart-sass-embedded/releases/tag/1.57.1
10:58:15 /usr/local/bundle/gems/sass-embedded-1.57.1/ext/sass/Rakefile:226:in `default_sass_embedded'
10:58:15 /usr/local/bundle/gems/sass-embedded-1.57.1/ext/sass/Rakefile:21:in `block (2 levels) in <top (required)>'
10:58:15 /usr/local/bundle/gems/sass-embedded-1.57.1/ext/sass/Rakefile:21:in `fetch'
10:58:15 /usr/local/bundle/gems/sass-embedded-1.57.1/ext/sass/Rakefile:21:in `block in <top (required)>'
10:58:15 Tasks: TOP => default => install => embedded.rb => sass_embedded
10:58:15 (See full trace by running task with --trace)
10:58:15 
10:58:15 rake failed, exit code 1
10:58:15 
10:58:15 Gem files will remain installed in /usr/local/bundle/gems/sass-embedded-1.57.1 for inspection.
10:58:15 Results logged to /usr/local/bundle/extensions/x86_64-linux-musl/3.1.0/sass-embedded-1.57.1/gem_make.out

https://cd.screwdriver.cd/pipelines/27/builds/841186/steps/build-push

Objective

Jekyll version 4.3.x uses sass-embedded which is not available for Alpine Linux.

This PR locks the Jekyll version to 4.2.2

References

https://jekyllrb.com/news/2022/12/21/jekyll-sass-converter-3.0-released/
envygeeks/jekyll-docker#353

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@jithine jithine merged commit b34ff87 into master Jan 12, 2023
@jithine jithine deleted the sagar1312_fix_build branch January 12, 2023 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants